package com.culturalCenter.dataCenter.service.user;

import com.culturalCenter.dataCenter.customEntity.responseParam.user.UserFootprintListResponse;
import com.culturalCenter.dataCenter.entity.user.UserFootprint;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserFootprintService {

    /**
     * UserFootprint分页查询
     *
     * @param page
     * @param size
     *
     * @return
     */
    PageInfo<UserFootprint> findPage(int page, int size);

    /**
     * 删除UserFootprint
     *
     * @param id
     */
    Integer delete(String id);

    /**
     * 修改UserFootprint数据
     *
     * @param userFootprint
     */
    Integer update(UserFootprint userFootprint);

    /**
     * 新增UserFootprint
     *
     * @param userFootprint
     */
    Integer add(UserFootprint userFootprint);

    /**
     * 根据ID查询UserFootprint
     *
     * @param id
     *
     * @return
     */
    UserFootprint findById(String id);

    /**
     * 查询所有UserFootprint
     *
     * @return
     */
    List<UserFootprint> findAll(UserFootprint userFootprint);

    /**
     * 用户浏览记录列表
     *
     * @param userId
     * @param pageNum
     * @param pageSize
     *
     * @return
     */
    PageInfo<UserFootprintListResponse> findFootprintList(String userId, int pageNum, int pageSize);

}
